##################################################
# adds parallel workers to the current Julia session
##################################################

const nnodes = length(langs) # or can use Sys.CPU_CORES-2
info("starting $nnodes local processes")
if nworkers() > 1
  info("removing running workers")
  rmprocs(workers())
end
addprocs(nnodes)
info("started $(nworkers()) parallel workers")
